| commit | 2d81f3d1f399515f4107ef20acd1fe9335662f0a | [log] [tgz] |
|---|---|---|
| author | Sean Hunt <scshunt@csclub.uwaterloo.ca> | Mon Jul 18 17:07:53 2011 |
| committer | Sean Hunt <scshunt@csclub.uwaterloo.ca> | Mon Jul 18 17:07:53 2011 |
| tree | 051ea5b7d104f60ebcc12fe66be37f244499561e | |
| parent | 464aa5cad3a94a3bc599e8999a270694873f48a0 [diff] |
Give A an explicitly non-throwing destructor so that B's destructor is itself non-throwing. Since nested_exception's destructor is non-throwing, if B's destructor is not, this causes an error in C++03 mode due to the overriding function having a more lax specification. This did not occur in C++0x mode as A's destructor was implicitly non-throwing. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@135400 91177308-0d34-0410-b5e6-96231b3b80d8